package com.smedi.ismedi.dangeroussourcemanage.core.application.service;

import com.smedi.ismedi.dangeroussourcemanage.core.application.command.DangerousSourceManageCommand;
import org.springframework.http.ResponseEntity;

import java.util.List;

/**
 * 危险源应用服务接口
 *
 * @author xienannan
 * @date 2021/08/23
 */
public interface DangerousSourceManageApplicationService {
    Long deleteDangerousSourceById(List<Long> dangerousSourceIds);

    Long addDangerousSource(DangerousSourceManageCommand dangerousSourceManageCommand);

    /**
     * 导出危险源列表
     *
     * @param DangerousSourceIds 导出危险源id集合参数
     * @return Boolean
     */
    ResponseEntity<byte[]> exportDangerousSourceList(List<Long> DangerousSourceIds);
}
